#ifndef _BUOLA_SCENE_GEODES_CCAPSULE_H_
#define _BUOLA_SCENE_GEODES_CCAPSULE_H_

#include <buola/scene/cgeode.h>

namespace buola { namespace scene {

class CCapsule : public CGeode
{
public:
    CCapsule(double pHeight,double pRadius,int pRings=30,int pSegments=30);
    ~CCapsule();

    PBulletCollisionShape GetCollisionShape() override;

private:
    double mHeight,mRadius;    
};

typedef intrusive_ptr<CCapsule> PCapsule;

/*namespace scene*/ } /*namespace buola*/ }

#endif
